WIP: rewrite installer [DONT MERGE]

Work in Progress rewrite. To show what I'm doing and where I'm going, and maybe get feedback.