Renamed factory Object/Constructor function to be more generic to adapt the concept for the AsyncFactory Class. Fixed unit testing on factory-test.js and set up async-factory-test unit test.