Massive refactors off the grid. Converting to code first and angular.