Added the model ,validations controller.,devise,cancan etc..