added first drafts for neural net PHP client