Adding statistics model & database.sql