Continued with moving to MySQL. Removed unused code.