Moved API server docs back from server repo; added dependency on common lib
Added safer internal links, some refactoring