#170 implemented PopenSource; #200 remove all relative imports