Remove counter test code
Code quality inspections
Implement parameter defined on-the-fly image resizing.