addition of __init__ function
change of directories and sampleHandling call functions