fix indentation, remove unused dependencies
set buffer size if not set explicitly
config parser