Seperate program and instance to different files.