refactor: ready for simple config loader, clean deps