changed count checks
fixed gemnasium url
extended flow control doc
create clean result array