Config moved to JSON; configurable keys added
Button selection implemented.