WIP: Refactor constants (comments welcome)

We should use proxy objects here, something like https://github.com/soft-matter/pims/blob/master/pims/api.py#L19