avoiding initializer code for rails

When used as a plugin, princely requires initializer in the config/initializer folder. Have updated so that it doesn't need that anymore.