Cleanup and make CommandParser fully static non-QObject