Publish functionality initial commit