Improved scheduling and analysis management.

- AnalysisManager is no longer unique: each app now
  has its own instance.
- Each app is now responsible for updating analysis on their own
  schedule.