Looking good, since it doesn't create the tables automatically, what tables do we need to create? I imported the table.csv file and running into some issues most likely due to table names being hardcoded.
Also, looking through the code I recommend not hardcoding the url paths as I had to change...