Made lightning inherit from simplesetup, reduced code duplication