mvp, does NOT have db connections yet, and not tested, and all in one massive file...