Added railties as a dependency; Added engine class for Rails