Completed move of model data to MySQL

Data is now served to controllers via getdata.php.