Quality Shell

Shell of code for calculating configuration quality.