WIP converting to rust 0.10

Not yet comply functionnal