Add ServletContextListener and dog class to to the project