adding zaphpa
adding base api implementation