Implemented url model with validations and tests