Add manager.

There may still be some bugs involved with this. String manipulation is not my
best friend.