CHANGE: Refactor sonar, added require file

Signed-off-by: arturkandurengagepoint <artur.kandur@engagepoint.com>