Organize pipeline functions in AntaresPipeline class
Fix syntax error in python3