Engine rewrite

Rewrote engine to include smooth player movement and collisions as well
as seamless endless environments.