Moved database to MySQL. Added API calls for states.