Cleans up shame file, implements grid version 1.0