Merged Collision of platforms

Put platforms into separate class and got basic collision with player
fixed.