move qRM to tools