Externalized and clean up
restructured for early initalization of Resources
Nonexternalize