Implement createdb.