reformat code
removed obsolete files
implemented error handling the spring way
cleanup app settings
some additional cleanup