Refactor index and show actions with TrainLine and Bar classes

Add bar class, remove bar business logic from main controller

Add newline at end of bar.rb model.
Merge pull request #18 from darkmoves/code-refactor

Refactor index and show actions with TrainLine and Bar classes