Main Changes:

	-Changed database tables so that foreign keys cascade on deletes and updates.