Split LibraryC into LibraryIC and LibraryEC. Fixed bug in runtime system related to wire generation.