added DatabaseColumn data structure

for increased performance and code simplification