add css and some functional tests