Feature: Add init function for Log and Config classes.