Add switch hub app code based off of ParseStarterProject