export file with classname/export name

export file with classname/export name. btw, i think some files have line endling problems. could u take a look? thx.