changed server to ExpressJS; fixes #10
refactored device selection #2