Splitting code !

I've splitted the code into many files to simplify ^^