refactor dir structure + remove relative paths require + adding .x version package.json