Added templates for configuration files. Removed old internal.py module