We have to optimize our code: - substitute all repeating (DSM related) code with a helper static functions - remove all excessive stuff, which plays no role Change-Id: I27170509d84a634dc4a9a865ea8395e4e8cc2f3d