Create Set and Map for concurrency (or at least thread safe).