Create a subclass of one of the App classes; use the macro SP_DEFINE_APP.
TODO: This needs more detail. Perhaps use spcat as example.