Identations in code rea]paired;
Direction has been incapsulated into MapObject;