Add some function
Add some inferface to frontend
Fixed some mistakes
Moved some function
Add a class to read/set op.