Added tons of api to libktomgirl. Still kind of broken.