Refactoring the project

A lot of changes today : renaming, reorganizing, and rewriting of a lot of functions.
The online features are not working anymore but it is the next thing to do now !