Reworked import of constants.py: Part 1