Added request handlers to index.js
Updated router.js with handler object