change into express framework
move old codes into old.js, that's only for reference