Completely changed architecture of map.js in terms of movement, vector math and attacking. Comments and console messages added everywhere. Everything is now more streamlined and general (less 'ad-hoc').