Webservice and various code changes

Added auth checking to AuthRequestHandler.
Changed package names to fit with naming convention.