Move helper libs to a dedicated folder.

To workaround cfx bug that introduce duplicated data folder when using root addon folder as lib module, I moved main.js to a sub "lib" folder.

@mykmelez could you review it?