A new way to manage package. Benefit taken from the new namespace loader. Example updated.
Remove the clearState operation from demo file.
Clean up codes. Add depth limit for directory seeking.
Add a safe wrapper to require files.

Fix some style problems.