refactor(store): split up and initialize inside the module
refactor(task): externalize state in api
refactor(task): externalize state in helpers
refactor(task): externalize state in localstore
refactor(task): externalize state in bootstrap