- created models and write, read update functionalities