refactor of api v2. added dashboard export to CSV. #62