Basic collision detection and file cleanup

Also added some comments
Started another collision detection method for multiple terrain objects