Add private methods to Table class that simplify the database controllers a lot