making .cpp .h and keywords.txt for LED matrix

i have been playing with my DIY LED matrix and well ive made a few functions for the LED matrix one resets one dose a asscending effect with the leds and one blinks on and off a few letters. i would like to make these and others in to a command type like you have in your .cpp, .h and keywords.txt files so all i have to do is put at the top of my program #include <ledmatrix.h> and have it do something, and put like reset; and it will as it sates reset or turn off the LEDS how would i create this so my main code file or files just have that much fewer lines.

Start here: