extracted RailsInitializer (better name, please?) from the Railtie class