common Library containing majority of logic + database calls + misc. Used by app-service, dashboard-service, and opt.