added OOP example
updated license
license wording
support resourcemap
docs
release