Fix ImportError

- Fix ImportError when importing modules.
- Include hashbang and encoding detail in all files.