Schematic importation

* Made code for the schematic importation
* Some fixes