move functionality from endpoint to agent
initial agent implementation
added distributeme support
added rmi
removed security manager
made class serializeable to be able to tranfer data over rmi
added serialization