Added legacy zaz implemetation to the project