Added commands defines and some sef code to driver