change nav, and add api and learn dir