added some css
update
update
added frontend support for segments
added backend support for segments