Fixed some javadocs and removed class extension in PWD legacy rest controller