An introductory treatise on the lunar theory