Some basic db stuffage

Conflicts:
	bc.py