Corrected behaviour and tests
Systems are now defined in JSON rather than hard-coded
Extracted common 400x behavior like timing and latching into common module Added maxed MCS-4