add graph support; add count method to dao; tidy up test support; move constants to settings class; reduce sample data size for faster tests; unit tests for menu items