add setup mode

Closes #2