added sample config, cleanup source