added a default constructor to model that auto generates its own id
added comments to State.h