Add model framework and database connectivity