Config file format, syntax checking, timeouting

Change-Id: I9bfa70f60a0d35df84b03de19746fa7d7524bd9c