Breaking out rb and cucumber functionality