Parsing and validation of samples file moved

They are now two new classes
initial changes to the new classes