Removed a user specific working directory.
Reimplemented parts of the balance system.

Added Javadoc.