added data.js for interacting with the data
added resources.js as a test for implementing apis
cleaning up