Added commands to generate reports from database and base command class

For compare date and datetime. For example f5 usages use it.