added dog class and views and routes for create, show, and edit