Grid based architecture