Add React key for each component list + remove some useless log statements
Refactor pointed graph library to make the code readable and robust