Refactor source file handling
Support for saving component changes