extracted routes into module and added weathermodel.js
fixed package issues