Changes on gate ingestion.

* Review incorrect schema
* Save correctly input name.
Merge pull request #45 from alediator/gate_schema_fixes

Changes on gate ingestion.