Refactor railtie.
Merge pull request #11 from ducknorris/duck-refactor-railtie

Refactor railtie.