some config
refactor for build process
move main
refactor
move models out of router