Huge overhaul to make the script use MongoDB. Also, you can add users and sites via the command line now.