Modified cake task to build into lib directory
added required args for sync_cb apply calls to make sure requests with callbacks work
Switchable testing between live and mock data - initial implementation