moved parsing code to new file
moved ParamParser to new file