HEAD
some refactor and add initial tests
test&code _init and _CSS methods