added documentation and configure settings