Nearly a complete re-write to make the program more extensible. Add in other nZEDb scripts.