add withManager function
add basic documentation about withManager
Merge pull request #21 from ibotty/master

add withManager function