Revert "Moved DB functions to DBConnection.php"

This reverts commit 6dc737b112722078c9cfed755825239414f634cc.

Conflicts:
	src/classes/DBConnection.php