refactor grid use, move mixins to folder.