clean up / gc
[#39] add resource iterator to get resource info

 * resource list
 * resource options
 * meta information around resource class