Revert "Revert "Fix anonymous struct.""

This reverts commit c05e91f21e8a1c9366d54ec17aa978e0fba1d9da.
Revert "Add config file parsing."

This reverts commit 0675b48bfbc9fa36b4e20e2a612005b2e65b1646.