refactor config loader, implements is removed