Move initialization code to Railtie
Merge pull request #1 from zohrehj/master

Move initialization code to Railtie