Added classes for working with structures. Mostly pulled up from SGWorlds.