Refactoring (cron declaration moved to package instead of server.js)