Added entity functionality, started item functionality. Testing couchdb instead of mongo.