changed all json calls to mysql queries, create func for more efficient code
.all data coming from mysql db now
.SQL queries for 7 criteria + 1 to select all is now implemented
.test json file moved to 'database' folder