Modularized using require.js, based off full database lab