Cross platform CSS manipulator implemented.
Some code has been factorized as well.