Add lager and acceptor loop
Add config