MSPL: interface file management implemented (not ready), refactoring etc