moved printing related functions into seperate class and create header
for it.