move db to models
split router from main
create utils dir