a few changes that align the startup process with the README document

note that this also includes some changes to the SQL - looks like some
field names/types have changed