Creating a class for Kbmod data