Created common.py in frontend.