Made a cyktable class (still needs improvement) and templated things a bit better. Still lots to do.