added web.xml and stripped down resource to get it working step by step