Added dummy modules for testing
Fixed calibrationPhases and cleaned up statemachine