Refactor names to support 'categories'
Write file io routines for JSON storage