refactor, create Validator class to validate user input.
create ServerHeader.h to store URLs from server.