Adding H2 Database Support

H2 Database support is added.  Database startup and shutdown hooks are
added to Main as well.