Changed legs type from list to dict
added exact coordinates target in GUI and controller