updated default settings and structure of startup in index.js