Adding model + database connectivity