interrupt demo and functionality added to library
moved demo into seprate folder