Added Railties and restuructured dir structure.