A example on how to use Switchr´s Extension/Addon API. There´s a theos template included too.