refactor stuff out of Parse and into Demo