Basic level put together :D

--- Optimisations and feature cutback
--- Added target manager
--- neatened up the main loop
--- made some hacky workarounds in the collision code