Fixed map class and pathing

Still needs a destructor