(feat) add db connection to server file and refactor mongoose files
Merge pull request #28 from azai91/feat/db

(feat) add db connection to server file and refactor mongoose files. closes #4
I approve this pull request.