The great refactor into apps