Create new file for Bear.

Several bear-related functions still in main.py.