Update to Shard v3.*

* Moved RestController into Listeners
* Added code formatting and mess detection