add infobar related code and resources.