Write configs on site create and edit

Resolves #13