created libwit - refactored witd to use it