Fixed the 'get' part of the api

Get now returns the promise to data