relay: multiple updates

* update gradle version
* use retrolambda/lamdas in all the projects - makes code so much less verbose
* split up CTCP parser as well
* cleanup and refactor multiple pieces of code