Coding methods in separate file. Getting scan from stage and passing it to the GUi GW