Move functionality for grid completely into class.
Add delete functionality.