Added stub/fakes for API end points and also data generation code.

Added stub/fakes for API end points and also data generation code.