refactor: API get message endpoint. helper methods.
Merge branch 'master' of github.com:nathanleiby/retrain

Conflicts:
	README.md