created rails skeleton and added models.