modified app.js - new endpoints
created config.js

right now, only contains dbConfig
implemented activity endpoints
updated index endpoint (/)