Redundant code removal

Some unnecessary files and functions removed, particularly pertaining to
MySQL. Looking forward, I will most likely be making use of MongoDB when
I get round to databases again.