add thumbnail rest service and ui resource viewer