added iFactory interface
added a test for CronFactory
fixed filename
updated comments