Added basic functionality for adding modules and letting them communicate.