refactored

-collectable block
-gameplaystate
-map
-patternmanager