added first REST service for querying branches