fixing config, adding more documentation