fix warnings, unused imports and formating
separate jdbc context from root context
starting with jsp:template