Started to add in proper API functionality where a hook is created for all of the functions the client can implement