removed extraneous require('path'), fixed misc style inconsistencies

Hi.

The path module was unnecessarily required 2 times both as *Path* and "path".