complete R5 repository API and Bnd resolve, improve logging