added config file
fixed module memory allocation for usb transfer