added functions and style files; added validation for empty values and checking that name doesn't contain a number