WIP: Market and Installed app (major refactoring)