accelerometer module inside the widget to manage acclrmtr environments
refactoring for Alloy and config module