added a lot of documentation. Fixed publish bug. Allow publish on HTTP.