Add config files and logging system

Close #9
Close #10