This CLASS statement attempts to declare a class with the same name as a built-in data type such as INTEGER. Find a different name for your class.
You get all this for free.. think about what you get if you pay us