Updated developer samples to use the new app framework