[IN-PROGRESS] Refactoring multiple lua modules into luaPackages

Please, feel free to contest.
Reminder for removing these from all-packages.