I found another thread where other users had the same problem.The fix is to move the class declarations at the bottom of the file more info here.

@flamer

I uploaded for you the latest dev...