I rewrote the court code database and thought through it's structure a bit more closely. The result is some significant improvements to the accuracy and efficiency of the program overall, as well as improved URL construction and CanLII API interfacing. Additionally, the database is now structured such that it can (eventually) be updated automatically through API calls.