created config/dbaccess.php for configure db access.
ignore log files.
sends log to /lib/logs/access.log file.
use Monolog's as LoggerInterface. less warning.
moved debug log into debugApp function.