Adding configuration validation (closed #5)