Made castle use corelib(open) to launch programs. Added license as a test