Major refactor, added router, utilshttp, mockDB'