Text this: Analysis of the quasicontinuum method and its application