Completed basic API management logic. Need to change the class name though.