Added Cpu LR and config. Added test for the calculations. Some updates to the inheritance structure for LR