library and driver for capturing signatures