improve config
fix uninitialized values
added player config