Added scripts to initialize databases

Two scripts have been added at db/ to recreate the sids and users tables
in a database file, including the default example user.