added basic features of saving styling
added preview page