Fixed Order of Classes Also MySQL code works now.