Added frames.py and consts.py