No printing in db

Move all printing/formatting logic out of the database. Provide accessors instead, and do the printing/formatting in the script.