Add basic models and rails code