Split off relations data from DatabaseApp
amending to previous commit

Conflicts:
	js/DatabaseApp.js