started diary manager, refactor