Rails

**Note**: This pull request is simply here to track progress and initiate discussion on the move to rails. It is not meant to be merged yet.