moved register objects to register.py