added control of empty content
added basic publish plugin