added problems model and controlers