Added some framework for the API handler