Move check process to its separate file.

Also change the way options are passed (from env to argv).
Fix comment of the default timeout (10 to 20secs).
Remove .config from gitignore.