refractor Todo into a factory
refractor to use with Parse REST API