Updated the sources and project with the actual code from friday (with ports and bus, etc).