refactor(app): make app states state-less

Closes #7