Client namespace and listen message.

The client side JavaScript now has a namespace for the app; added a message
for when the server starts; named the route functions.