changed all json calls to mysql queries

.all data coming from mysql db now
.SQL queries for 7 criteria + 1 criteria to select all venues are now implemented
.created function for more efficient code - can be further improved
.test json file moved to 'database' folder