refactor, created AuthorDao