finalized config and added documentation