Changed GuardAgainst to be more helpful in case of an error
changed swagger index mechanism to use REST instead of generating content via a servlet