Fixed bug, setup count is now stored in parent
Added POD documentation