Fixed the Controller's class methods and moved the pymsql file.