UPDATE: revamp, rename scripts, ADD: mysql interface

Meeting with Alec 28-Feb.