added storing device capabilities
added support for poll-driven devices