Added core drive code for use with basic tests
Finished the port as much as i can for now