Updated project settings.
Fixed issue with imports.
Refactored device creation.
Small tweaks.
Updated tests.