file extensions are now .json and NOT .js
implemented the mock api for objects