refactored grid views to be more DRY and implimented scopes