does the same upload job, bet refactored the form and receive action for future
first steps of add_reference.php webservice : input validation/sanitization and RefPoint class