Merged Andres' pickle and mysql code with the python django CLI code