Use g++ with C++11 std
Fix multiple constructor bug
Implement state visulization