Log request errors
Rename modelname to modelId
Add session loadModel() function
Include models tests
Test model bound to session