Added service and simple dependency injection flow, added default servlet pattern for images.