Updated wrt files to self register

Jira: WP-1308
Added comment about the deprecated URI

Jira: WP-1308
Merge pull request #16 from andreasbotsikas/WP-1308

Updated wrt files to self register
Fixed erroneously formated code