Create Agent.java

The initial agent to allow communication with the server.