model should be singleton, in general.
added a Logger loader to profile the dbaccess.
set up the logger (Monolog).
simplified code by using singleton method.