Added new server route and script

Created a new endpoint for posting messages. Also connected the
MessageService.