Started writing model of app