Added some unit tests
POD changes
Made the callback part of the get/post request.