there are now no more SQLs in the IRC class and using the doctrine database abstraction layer for database connection