Rework documentation, add reference config