Added class Model where all other models can extend from. Instead of creating a __construct() function for each. Also added $db protected member and PHPDoc with type PDO for autocomplete for editors.