added licence
removed unused dependencies
renamed getAttributeName method
throw IllegalArgumentException if request or response is null
added missing licenses, reverted formatting in autoformatted