refactor remove extra type define
refactor throw out error when fail to init con
refactor remove extra structure
documentation fix wrong url
Merge pull request #12 from xiangli-cmu/refactor

refactor remove extra type define