Creating a connected architecture with functions