Implement publishing functionality

Signed-off-by: OwenPatey <owen_patey@hotmail.com>