Move demo app out of platform code