Implement quota feature, need to fix system parameters bug