adding api functionality
Merge branch 'master' of https://github.com/sandan/cs373-idb
adjusting serializer so that it accounts for updated model