Made changes to support using hibernate. Still trying to get the
simulations to be stored.