added superres.hpp header
refactoring