Move context and device creation out of the spec file.

Change-Id: I79470d4fb9317bcad9d68921ce0c414aa133f3cb
4 files changed