some changed on flow functions. added automatic geoIP database retrieve.