Seperated base.py into different sections(files)