added bg color function
added size function
ommit BaseView
added preview function
publish function improved.