added base code

currently returns the string back to the client.