Initial offline mode implemented

Manifest being generated. But currently uses only classic mode. A few
bugs remain as well.