Restructured project to be more like a easily-implemented package through main.js