Run API after refactoring