Full working hand in, with tidy code + .sql database file