Language independent publishing

Do not merge yet