rm dump
added publish implementation (buggy) and some docs