Changed context to model and wrot in some initial functions to human