early stages of some modular code. API class will be used internally and externally for registration of API call handlers and provders