Added support for Java 6, and added Interface for Simulations