Add clean and C++11 flag
Fix bug
Fix illegal operator bug
Add licence section