updated structure in order to avoid autorestart with nodemon