Added: define programs in separate files
Separation and restructuring of applying programs