restructured logic for collision, now calculates movement and checks with 0 instead of compare sides.
fixed collision detection.
removed commented code
refactoring input
replaced bitpatterns with classes.
collision detection now works at bit better, could use more work
scalable StaticSprite fixed. Preparations for event on collision