Added basic model functionality.  I still need to add the functionality for the JSON calls.  That's up next.