bug fix, new features

+ Levels get loaded from a json file.
+ some changes on the architecture
+ debug information added