Add somes stuff

- Write some function in Phia
- Create some Exception classes
- Create the structure