Reworks the dependencies and a first version of travis CI.