add scripts for uploading json files into mysql database; reorganize directories