Add an init() method in the AbstracDAOFactory

This will avoid NPE when accessing the config file in the constructor
(create connection and DAOs in the init method).