Duplicated data

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?