WIP! Implemented a testing class simulating a map, needs to be tested though.