Adding case model and controllers with some tests