Make KateLibby more OO

Clean up KateLibby and move commands into /commands directory.