Q-system, RMR, Modified RMR and their applications