Added api to expose messages through API
Set controller as a service & added unit test
Removing RestController extends
Merge pull request #107 from Bladrak/api

Added api to expose messages through API