Renamed cmdExecuted() + Fixed some imports

>Renamed cmdExecuted() to getCmdExecuted()
>Some fixes to imports in ResultGenerator