added model functions
Merge branch 'brian' of github.com:amfarrell/likeawhale into brian