Moving driver helpers out of __init__

These weren't functioning correctly due to namespacing issues.
Moving this into their own file.

Change-Id: I1988881efad9be0d08606d30e0bf373ddb5c9b47