initial import of flux modules
package.json: add flux deps, move native deps to optionalDependencies
reformat package.json