Move issue controller into it's own file.