Oxadiazole a nucleus with versatile biological behaviour