Added private and reworked config