refactoring in manager.js and appropriate changes in manager.php
README.md: screencast link added