Set up nerd models with database-connection