add atmosphere connection, add device model, change layout