scoping implemented
Abstract resource implementation
ported grammar of grammar model