added web.xml
added structural design pattern example