removed *Model/getName(); changed $db type in *Model/constructor;