Added connection method for ant.
Added json query templates.
Added registration and possible way json query.