Where does the programming live for Groups, Scenes, Schedules and Timers?

Programming lives in the devices. After initial setup, the KASTA app is no longer required (unless modifications to settings are required).