change how api urls are served and some initial documentation