First implementation of trove::api

- Add common parameters to init
- Implement generic_service
- Implement api