rewrote createdb.py as newdb.py