Refactoring multiple lua modules into luaPackages

Please, feel free to contest.
use `callPackage` instead of `import` here