Analytics and Database code for Sprint 1 Demo