Created a new file for the validation functions, should be soon(TM) used too in the userapplication-script but dont hurry