delted unneeded states, switched mysql controler to outsourced states

hope i didnt messed anything up