set up basic ghost theme structure, plus some preliminary type setting