added valid_url? method and gem build