Added rails setup and basic time functionality