rename apps to contexts, use tokens