moving app stuff into Poke module