Added groups in block diagrams. Fixed linker.