Add HasScope typeclass to allow for custom reader environments
Remove unneeded MonadIO constraint for extension queries
Add flag for optionally building the generator