Big structure refactoring
Remove unused and move methods
Rename method apply_cwt
Pull functions to upper module
Cut from result image pad_num which we add to source