Scope support

Following the previous PR #15, here is a new shiny PR with scope support and updated readme.