Move routes to routes.js

Thanks to Chen ZiHui (@chenzihui)
for Pair Programmed in this commit xD