moved column logic into seperate files