Object oriented module to handle CSV output