Refactoring big data API new services