add ga tracker.
add integration test case for upload/download api.
add callback to stop() to graceful shutdown while testing.
minor fix on regexp.