Extract KMP table creation to separate method
Add basic logging capabilities