WIP: creating apps from tokens