determine max string length added
code cleanup due to sqlite data types + table creation started