fixed core startup and fully abstracted storage and app root for
  desktop and android