Functional - wrote MainLibrary, parts connected