implement direction api

implement basic info page