Created empty API file which will contain hook definitions.
Continued refactoring for complete operations.