Direction feature

change location structure for easier update in future