fixed tests, cleaned up
more cleanup. added delegate classes for Author and book