Basic Capabilities support

Adds support for basic flash.system.Capabilities stuff.