Added ability to configure what non-middleware features are configured.

Change-Id: I7b6f4c07d9beed29f4da306af3b3f5e0d3505ada