added templates and made /webapp relative