Create defbase.py