add utility directory and files

interrupt table and sample functions. clean up a few files