renamed modules, added config dir, functional, json, re_, log: pid, args