refactored source and comments of EspaldaEscope