lots of cleanup, adding child activity for detail views