added crop overlay
moved merge to its own module
refactor