Adapted to new mxcubecore API
Created by: marcus-oscarsson
Mainly adaptations to the new API resulting from the refactoring process and change to mxcubecore.
Created by: marcus-oscarsson
Mainly adaptations to the new API resulting from the refactoring process and change to mxcubecore.