Fix unit test
Test listWine return json
Finish romove data access logic from index.php