remove more dependencies on embedded database in api service