Refactored app state, preserving card query, created checklist directive