Updates to move to pymysqldb and virtualenv
Minor design updates