added ERD. Close #17. Close #18. Close #19.