removed boost_foreach dependency
Replaced list with vector