Fixed up URLs, so that they are now a URI object instead of a String. Added new methods and entities. Made all ids Longs instead of Integers.