Issue #41: Added DAOFactory based on Factory and Singleton design patter...

...ns and associated unit tests