Updated exmples and refactored scope

Updated exmples and refactored scope to allow namespacing your own
version of sole