added documentation. Simplified manager