refact porject structure

remove model on github, use mongoose, refact the project structure