For getting fields of table is possible to use `$dbh->table_info` Also prepare_sql and write_to_db funcs from Serikoff::Lib