added apis and handlebar cleint changes