Small changes to Gate
Added SystemInfo class
Removed sorted option
Almost works