-settings and textures made static
-improved input handling
-building class added
-got rid off redundant files