Feature/constants

Closes #2.