Created logical sections in main.js