fixes compatability with 4.x and 5.x
- Restructured package-related files under packages/ - Added generic PAM config