RPM calculation algorithm. Some settings implementation.
Signed-off-by: denis-m-tyurin <denis.m.turin@gmail.com>