added state_options, moved gearbox include to the class methods, and cleared out pre optimization