Create a written constitution

Separate PR for a written constitution, to replace those parts added in #81 and #85.