Make database callable from controller and models with the same instance