Fix errant <
database connect code
dump of db to sql
add function call
display inventory in catalog table