Apidoc refactoring

- better separation of guide and api
- allows to build application api docs