refactoring to api module