cleaning up main file
current status: frustrated with tilemap etc, tomorrow off to solve stuff by positioning by prog.