simple mvc realisation on php apache access log parser, using mysqlDB and pChart library to analyse log files Sql connection release as singleton pattern