Initial cleanup
Added missing module table to constants
Use nginx cosocket where possible
removed the hardcoded facility
removed prio_field