finish config v1.0
small fixes with debug function and main class
fix logger issues
implement reload command