refactor conf system, separate messages.js