Added dependencies and began statistics integration. Wrote model for database.