add a rest controller to retrieve build info