Write a shortcut for obtaining a resource object
Implement registering resource into registry, still need some adjustment
in order to deal with the "default-value problem" of resources
Implement special-attr method to workaround the "default-value problem"
Change the way registry works: use resource name as unique key