updated multiplayer
added javadoc