clean up main.js and create main2.js to test placing objects in one large array