Changed Systems to be classes. Wrote BaseSystem.