Creates grid system. Fixes #4