Topic/mobile apps api

Enjoy. This isn't fully baked yet but is a big enough job that I think getting this initial, tested migration through is a good stopping point for now.