Add base Module class

All modules should inherit from this class and override run().