Add messages for file-not-found
Add automatic initialization functions
Generalize support for external modules