refactoring: move implementation details to namespace luamm::detail