core: move application logic a level deeper.
README: outline application structure.