fixed bug
remove stuff
Added map file reading