Major update server.js

Can now run different routine at same time