Major changes to category creation. Started to script quiz creation. Improved mysql keys to avoid duplicated values.