modified index.php in v2/src to pull data from datbase using models