Add DATA_DIRS and CONFIG_DIRS
Explicitly create procs rather than auto generate

This was to make the code easier to read.
Add RUNTIME_DIR proc
Tidy test file
Export RUNTIME_DIR
Clarify module usage and installation