server: added gradle build files
server: added simple rest example
server: added simple getting all and posting of messages