added a new constructor and UID field
Merge pull request #59 from andy2013march/master

added a new constructor and UID field