Added some util functions.
Added start-db function and updated init.