Added more elastix API calls and factored out parameter file functionality to separate class