Finally Xor Funtions

All Backend Functionalities for XOR figures finished :),
Starting functions to control the frame(panel) and the figures,
Next Commit will merge Kristel Branch and this branch