User preferences are passed during device registration.
- Added includes to avoid the error related to the redefinition of the 'min' and 'max' macros.
- Added the class UserPreference.
- Removed debug code.
- Removed the 'connected' public variable from the ASBox object.
- Added the 'scheduleLevels' and 'priority' public variables to the ASBox object.