move param parsing from model to controller, add happy path