pages property and setter added, resolves #3
example project updated