Added a 'uri' field to all 'Resource' classes, as well as the 'ResourceReference' class.
Added gitignore.