changed casing of database table references to lowercase on models