Porting of Sensors API to modularized version [WP-976]

Jira issue : WP-976