Resolves #7, ready for merge to dev, minor changes to vcfUpload may still be required.