created logical sections in main.js