Added commands to generate reports from database and base command class

I change it when fabric will use