rename resource to resourceGroup and method to resource to prepare refactoring
rename method to resource
rename Resource to Controller and introduced a ResourceGroup
beautify
beautify
use ResourceGroup in document