Added systems superclass and KMC specific subclass. extrema finder now
improved for increased confidence in having the global extrema.
removed redundant functions and variables.
single window have all pieces implemented. Needs debugging.