Extensions loading

- loading extension configs
- searching for extensions in many places
- moved legacy and mailutils