Basic FlagshipDevice example without state saving
Added comments