creating model
adding controller