apply license, improve interrupt documentation