moved style editor to library