Rewrote server to use MySQL