added case controller and a few models