4/22 Added krp_classes to ka-related
4/23 Major changes to ka-related

OOP, moved the work to SQL instead of PHP