Added module ClassMethods. Extending class methods after included is triggered, also setting flash_message_set as a helper method to reduce code duplication.