add import of submodules in __init__
add __all__
fix error in checks with device