Made some sql into procedures on the db side. Added messages table to work with world bosses